
**************DEMOGRAPHICS*****************************
*FOR TURKEY

* UPLOAD THE DATA

keep if study==1 & advertisement==0
*keep if study==1 & advertisement==1
*keep if study==1 & advertisement==2
*keep if study==1 & advertisement==3
*keep if study==2 & advertisement==0
*keep if study==2 & advertisement==1
*keep if study==2 & advertisement==2
*keep if study==3 & advertisement==0
*keep if study==3 & advertisement==1
*keep if study==3 & advertisement==2

tab advertisement
tab college 

tab female

tab young

tab old 

tab veryinterested

tab strongpartisan


*****************RESPONSE QUALITY********************************
* UPLOAD THE DATA

global controls_full  college female young old polint strongpartisan spain turkey_st2
 set scheme plotplain
 foreach x of varlist attentive response_opended   {
logit `x' i.advertisement $controls_full if complete==1
estimates store `x'
}

*if treatment!="" 

logit recontact_success i.advertisement $controls_full if complete==1
estimates store recontact_success
reg wordcount_squareroot i.advertisement $controls_full if complete==1
estimates store wordcount


coefplot (attentive), bylabel (Attention Check: Passed) levels (99 95)  ||  (response_opended), bylabel (Open-Ended: Responded) levels (99 95)  ||  (wordcount), bylabel (Open-Ended: Word Count) levels (99 95) || (recontact_success), bylabel (Recontact: Responded) levels (99 95) ||,  drop(_cons spain turkey_st2) xline(0)   byopts(compact cols(2)) subtitle(, color(black) bcolor(white))


